/**
 * Project Name:dsrs-systemservice-domain
 * File Name:DatadicTypeUpdateForm.java
 * Package Name:com.bwda.dsrs.systemservice.domain.form.datadictype;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 */
package com.bwda.dsrs.systemservice.domain.form.datadictype;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 数据字典类型（修改条件）
 *
 * @author liangjianyong
 * @date 2019/4/27
 */
@Data
@ApiModel(description = "系统数据字典类型")
public class DatadicTypeUpdateForm {

	@ApiModelProperty(value = "数据字典类别")
	private Integer id;

	@ApiModelProperty(value = "数据字典类别")
	private List<Integer> idList;

	@ApiModelProperty(value = "字典类型CODE")
	@Size(min = 1 ,max = 64,message = "字典编码在1-64之间")
	private String dataDictTypeCode;

	@ApiModelProperty(value = "字典类型名称")
	@Size(min = 1 ,max = 64,message = "类型名称在1-64之间")
	private String dataDictTypeName;

	@ApiModelProperty(value = "排序")
	private Integer orderNum;

	@ApiModelProperty(value = "0内置1自定义")
	private Integer isDefault;

	@ApiModelProperty(value = "0:正常 1:启用")
	private Integer status;

	@ApiModelProperty(value = "备注")
	@Size(min = 0 ,max = 140,message = "备注在0-140之间")
	private String remark;

}